package com.weme.common.view

import android.content.Context
import android.util.AttributeSet
import androidx.core.content.res.ResourcesCompat
import com.scwang.smart.refresh.footer.ClassicsFooter

class MyClassicsFooter : ClassicsFooter {
    constructor(context: Context?) : super(context) {

        val typeface = context?.let { ResourcesCompat.getFont(it, com.example.resources.R.font.book) }
        mTitleText.typeface = typeface
    }
    constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs) {}
}